<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commonHead.jsp"%>
    <script type="text/javascript" src="/static/js/studentObserve/studentObserve.js"></script>
</head>
<body>
<%--工具栏--%>
<div id="tools">
    <a id="btn_edit" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a id="btn_changeState" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="changeState">审核</a>
    <a id="btn_unchangeState" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="unchangeState">反审核</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadList">刷新</a>

    <input class="easyui-combobox" name="classId" id="classId" prompt="目前班级"
           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/class/selectAll.do'" />
    <input class="easyui-textbox" id="keyword" prompt="关键字" name="keyword">

    转学时间:<input class="easyui-datebox" id="beginDate">~
    <input class="easyui-datebox" id="endDate">

    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="searchs"></a>
    <a class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-print'"
            onclick="window.open('/studentObserve/exportXls.do')">导出</a>

</div>

<%--表格--%>
<table id="studentObserve_list"></table>



<%--编辑页面--%>
<div id="studentObserve_dialog">
    <form id="studentObserve_form" method="post">
        <table align="center" style="margin-top: 20px">
            <input type="hidden" name="id"/>
            <tr>
                <td>用户名</td>
                <td>
                    <input class="easyui-textbox" name="username" data-options="required:true">
                </td>
            </tr>
            <tr>
                <td>真实名称</td>
                <td>
                    <input class="easyui-textbox" name="realname" data-options="required:true">
                </td>
            </tr>
            <tr id="password">
                <td>密码</td>
                <td>
                    <input class="easyui-passwordbox" name="password" data-options="required:true" />
                </td>
            </tr>
            <tr>
                <td>电话号码</td>
                <td>
                    <input class="easyui-textbox" name="tel" data-options="required:true" >
                </td>
            </tr>
            <tr>
                <td>电子邮箱</td>
                <td>
                    <input class="easyui-textbox" name="email" >
                </td>
            </tr>
            <tr>
                <td>所属部门</td>
                <td>
                    <input id="depts" class="easyui-combobox" name="dept.id"
                           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/department/selectAll.do'" />
                </td>
            </tr>
            <tr>
                <td>雇佣日期</td>
                <td>
                    <input class="easyui-datebox" name="hireDate">
                </td>
            </tr>
            <tr>
                <td>管理员</td>
                <td>
                    <input name="state" class="easyui-combobox"
                           data-options="
                        panelHeight:'auto',
                        valueField: 'state',
                        textField: 'value',
                        data: [{
                            state: '1',
                            value: '是'
                        },{
                            state: '0',
                            value: '否',
                            selected:true
                    }]">
                </td>
            </tr>
            <tr>
                <td>角色</td>
                <td>
                    <input id="roleId" class="easyui-combobox"
                           data-options="multiple:true,panelHeight:'auto',
                           valueField:'id',textField:'name',
                           url:'/role/selectAll.do'
                            " />
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
